import { createBrowserRouter } from 'react-router-dom'
import List from '@/pages/Home'
import Detail from '@/pages/Detail'

const router = createBrowserRouter([
    {
        path: '/',
        element: <List />,
    },
    {
        path: '/detail',
        element: <Detail />,
    },
])

export default router